package com.qf.ebook.service;

import com.github.pagehelper.PageInfo;
import com.qf.ebook.entity.EbookEntry;

public interface EbookEntryService {

    //添加图书信息
    void insert(EbookEntry ebookEntry);

    //根据id修改图书信息
    void updateById(EbookEntry ebookEntry);

    //根据id删除图书信息
    void deleteById(Integer id);

    //根据类别id分页查询图书信息
    PageInfo<EbookEntry> findByCategoryIdAndPage(Integer page,Integer rows,Integer categoryId);
}
